#pragma once

#include "ClientButton.h"

#define UM_PTZ_BUTTON_UP		WM_USER + 2013
#define UM_PTZ_BUTTON_DOWN		WM_USER + 2014
#define UM_PTZ_BUTTON_LEFT		WM_USER + 2015
#define UM_PTZ_BUTTON_RIGHT		WM_USER + 2016
#define UM_PTZ_BUTTON_UPLEFT	WM_USER + 2017
#define UM_PTZ_BUTTON_UPRIGHT	WM_USER + 2018
#define UM_PTZ_BUTTON_DOWNLEFT	WM_USER + 2019
#define UM_PTZ_BUTTON_DOWNRIGHT	WM_USER + 2020


// CPTZButtons

class CPTZButtons : public CWnd
{
	DECLARE_DYNAMIC(CPTZButtons)

public:
	CPTZButtons();
	virtual ~CPTZButtons();

protected:
	CClientButton *btnPtzUp, *btnPtzDown, *btnPtzLeft, *btnPtzRight, *btnUpLeft, *btnUpRight, *btnDownLeft, *btnDownRight;

	void DrawControls();

protected:
	DECLARE_MESSAGE_MAP()
public:
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	virtual BOOL PreTranslateMessage(MSG* pMsg);
};


